package com.tl.khadmin.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import com.tl.khadmin.bean.Freight;
import com.tl.khadmin.bean.FreightTemplate;
import com.tl.khadmin.bean.dto.FreightListDto;
import com.tl.khadmin.page.Page;

public interface FreightIService {
	
	public List<Freight> listFreight(HttpSession session, Map<String, Object> param);

	public String saveFreight(HttpSession session, Freight freight, String regionVals); 

	String deleteByIds(String ids);

	String updateFreight(Freight freight);

	Page<FreightListDto> showFreightByPage(HttpSession session, Integer pageNum, Integer pageSize, Map<String, Object> params);

	Map<String, Object> queryFreightById(String id);

	public String updateStatus(Freight freight);

	public String saveFreightTemplate(HttpSession session, FreightTemplate freightTemplate);

	public List<FreightTemplate> listFreightTemplate(HttpSession session, Map<String, Object> param);

	public FreightTemplate queryFreightTemplate(Integer id);

	public String updateFreightTemplate(FreightTemplate freightTemplate); 
}
